package com.chenjt.jvm.second.one_classDetails;

/**
 * 注释：
 *
 * @author chenjt
 * @date 2025/6/23 10:03
 */
public class StringTest {

    public static void main(String[] args) {
        String str = new String("hello") + new String("world");
        String str1 = "helloworld";
        System.out.println(str == str1);// false

        String str2 = new String("helloworld");
        System.out.println(str == str2);// false
    }


}
